@keyframes navIn {
    0% {
        transform: translateY(-4vw);
        box-shadow: 0px 0px 0px 0px #000000;
        opacity: 0.8;
    }
    100% {
        transform: translateY(0vw);
        box-shadow: 1px 1px 30px 5px #000000;
        opacity: 1;
    }
}
@keyframes navItemIn {
    0% {
        transform: translateY(-6vw);
       
        opacity: 0;
    }
    100% {
        transform: translateY(0vw);
        
        opacity: 1;
    }
}
p {
    position: absolute;
    opacity: 0;
    width: 0vw;
    height: 0vw;
}
a {
    color: #fff;
    font-style: normal;
    text-decoration: none;
}
/* * {
    padding: 0;
    margin: 0;
} */
@font-face {
    font-family: "deyihei";
    src: url("ttf/SmileySans-Oblique.ttf");
  }
.nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    top:0;
    width: 100vw;
    height: 4vw;
    background-color: #111;
    
    border-radius: 0 0 2vw 2vw;

    
    
    font-weight: 700;

    animation-name: navIn;
    animation-duration: 0.9s;
    animation-timing-function: ease-in-out;
    
    animation-fill-mode:forwards;

    
}
.navItem {
    padding: 0.5vw 5vw;
    border-radius: 0.5vw;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    font-size: 1.1vw;
    animation-name: navItemIn;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    color: #fff;
    animation-fill-mode:forwards;
}
.itemGroup1 {
    animation-delay: 0.1s;
}
.itemGroup2 {
    animation-delay: 0.3s;
}
.itemGroup3 {
    animation-delay: 0.6s;
}
.navItem:hover {
    background-color: #fff;
    transform: translateY(-0.2vw);
    color: #111;
    
}

